package com.woniu.repaircenter.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.repaircenter.service.model.RepairFileUpload;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 维修文件上传表 Mapper 接口
 * </p>
 *
 * @author 吕雨泽
 * @since 2024年12月06日
 */
@Mapper
public interface RepairFileUploadMapper extends BaseMapper<RepairFileUpload> {

    Integer insertFileUpload(RepairFileUpload repairFileUpload);

    List<String> getFilePath(@Param("repairNum") String repairNum);

    Integer addFileUpload(@Param("set") Set<Integer> set, @Param("repairUploadId") String repairNum);


}
